Smartcat\Includes\Services\App\DocumentsService S

Total Complexity 11
Dependencies 1
Dependents 3
Total lines 98
Lines of code 59
Logical lines of code 23
Comment lines 7
Methods 10
Properties 0

Methods 10

Method Rating Maintainability Complexity Lines of code
findDocumentByPostAndLocale()
S
63 2 10
mapToModel()
S
62 1 13
create()
S
73 1 5
whereTranslationRequestEquals()
S
75 1 4
fetch()
S
71 1 6
updateTranslatedPostId()
S
68 1 7
removePostLanguage()
S
78 1 3
removeAll()
S
79 1 3
removePost()
S
78 1 3
save()
S
73 1 5